package cate.common.table.d;

import cate.common.table.common.ParamSheet;
import easy.java.dev.note.NoteField;

public class GDRank {
    public static final class Id {
        @NoteField("成就")
        public static final int ACHIEVEMENT_RANK_ID = 1001;

        @NoteField("缚灵之塔")
        public static final int MAIN_TOWER_RANK_ID = 1002;

        @NoteField("跨服战力排行")
        public static final int CROSS_POWER_RANK_ID = 1003;

        @NoteField("跨服协会")
        public static final int CROSS_GUILD_RANK_ID = 1004;

        @NoteField("等级")
        public static final int LEVEL_RANK_ID = 1005;

        @NoteField("战力排名")
        public static final int POWER_RANK_ID = 1010;

        @NoteField("水系评分")
        public static final int WATER_SCORE_RANK_ID = 1011;

        @NoteField("火系评分")
        public static final int FIRE_SCORE_RANK_ID = 1012;

        @NoteField("木系评分")
        public static final int WOOD_SCORE_RANK_ID = 1013;

        @NoteField("土系评分")
        public static final int EARTH_SCORE_RANK_ID = 1014;

        @NoteField("光系评分")
        public static final int BRIGHT_SCORE_RANK_ID = 1015;

        @NoteField("暗系评分")
        public static final int DARK_SCORE_RANK_ID = 1016;

        @NoteField("协会排名")
        public static final int GUILD_RANK_ID = 1017;

        @NoteField("本服排名")
        public static final int POINT_RACE_RANK_ID = 1020;

        @NoteField("天梯赛")
        public static final int LADDER_RACE_RANK_ID = 1021;

        @NoteField("精英赛")
        public static final int ELITE_RACE_RANK_ID = 1040;

        @NoteField("跨服冠军赛")
        public static final int CHAMPION_RACE_RANK_ID = 1041;

        @NoteField("种族禁地")
        public static final int FORBIDDEN_RANK_ID = 1050;

        @NoteField("种族禁地-混沌之地")
        public static final int FM_RANK_ID = 1051;

        public static final int ENDLESS_RANK = 1088;

        public static final int UDG_PALACE = 1090;

        @NoteField("组队竞技")
        public static final int TEAM_PVP = 1091;

        @NoteField("灵宠协助排行")
        public static final int HOLY_PET_SUPPORT = 1092;
    }


    @NoteField(value = "点赞次数")
    public static int DAILY_ADMIRE_TIMES;

    @NoteField(value = "点赞奖励")
    public static String ADMIRE_REWARD;

    @NoteField(value = "天梯赛点赞奖励")
    public static String LADDER_ADMIRE_REWARD;

    @NoteField(value = "排行榜人数")
    public static final int RANK_LIMIT = 100;

    @NoteField(value = "跨服排行榜缓存时间")
    public static final int CROSS_RANK_CACHE_TIME_MILLIS = 5000;

    public static void initialize(ParamSheet paramSheet) {
        DAILY_ADMIRE_TIMES = GDParamTool.getInt(paramSheet, 30001, 3);
        ADMIRE_REWARD = GDParamTool.getString(paramSheet, 30002, "0:0:1000");
        LADDER_ADMIRE_REWARD = GDParamTool.getString(paramSheet, 510, "0:14:50");
    }
}
